//
//  Model_lawyerDetail.m
//  KWNLaywerClient
//
//  Created by 孔六五 on 15/2/6.
//  Copyright (c) 2015年 张明磊. All rights reserved.
//

#import "Model_lawyerDetail.h"

@implementation Model_lawyerDetail

- (void)getLawyerDetailDataWithDic:(NSDictionary *)dic
{
    NSString *area = [dic objectForKey:@"area"];
    NSString *class = [dic objectForKey:@"class"];
    NSString *education = [dic objectForKey:@"education"];
    NSString *evaluation = [dic objectForKey:@"evaluation"];
    NSString *goodatfield = [dic objectForKey:@"goodatfield"];
    
    NSString *head_src = [dic objectForKey:@"head_src"];
    NSString *id_ = [dic objectForKey:@"id"];
    NSString *integral = [dic objectForKey:@"integral"];
    NSString *intro = [dic objectForKey:@"intro"];
    NSString *label = [dic objectForKey:@"label"];
    
    NSString *life = [dic objectForKey:@"life"];
    NSString *mechanism = [dic objectForKey:@"mechanism"];
    NSString *office_address = [dic objectForKey:@"office_address"];
    NSString *position = [dic objectForKey:@"position"];
    NSString *qualificati = [dic objectForKey:@"qualificati"];

    NSString *realname = [dic objectForKey:@"realname"];
    NSString *shanchang = [dic objectForKey:@"shanchang"];
    NSString *signatu = [dic objectForKey:@"signatu"];
    NSString *solvecount = [dic objectForKey:@"solvecount"];

    
    if(area && ![area isKindOfClass:[NSNull class]]){
        self.string_area = StringWithObject(area);
    }
    if(class && ![class isKindOfClass:[NSNull class]]){
        self.string_class = StringWithObject(class);
    }
    if(education && ![education isKindOfClass:[NSNull class]]){
        self.string_education = StringWithObject(education);
    }
    if(evaluation && ![evaluation isKindOfClass:[NSNull class]]){
        self.string_evaluation = StringWithObject(evaluation);
    }
    if(goodatfield && ![goodatfield isKindOfClass:[NSNull class]]){
        self.string_goodatfield = StringWithObject(goodatfield);
    }

    if(head_src && ![head_src isKindOfClass:[NSNull class]]){
        self.string_head_src = StringWithObject(head_src);
    }
    if(id_ && ![id_ isKindOfClass:[NSNull class]]){
        self.string_id = StringWithObject(id_);
    }
    if(integral && ![integral isKindOfClass:[NSNull class]]){
        self.string_integral = StringWithObject(integral);
    }
    if(intro && ![intro isKindOfClass:[NSNull class]]){
        self.string_intro = StringWithObject(intro);
    }
    if(label && ![label isKindOfClass:[NSNull class]]){
        self.string_label = StringWithObject(label);
    }

    if(life && ![life isKindOfClass:[NSNull class]]){
        self.string_life = StringWithObject(life);
    }
    if(mechanism && ![mechanism isKindOfClass:[NSNull class]]){
        self.string_mechanism = StringWithObject(mechanism);
    }
    if(office_address && ![office_address isKindOfClass:[NSNull class]]){
        self.string_office_address = StringWithObject(office_address);
    }
    if(position && ![position isKindOfClass:[NSNull class]]){
        self.string_position = StringWithObject(position);
    }
    if(qualificati && ![qualificati isKindOfClass:[NSNull class]]){
        self.string_qualificati = StringWithObject(qualificati);
    }

    if(realname && ![realname isKindOfClass:[NSNull class]]){
        self.string_realname = StringWithObject(realname);
    }
    if(shanchang && ![shanchang isKindOfClass:[NSNull class]]){
        self.string_shanchang = StringWithObject(shanchang);
    }
    if(signatu && ![signatu isKindOfClass:[NSNull class]]){
        self.string_signatu = StringWithObject(signatu);
    }
    if(solvecount && ![solvecount isKindOfClass:[NSNull class]]){
        self.string_solvecount = StringWithObject(solvecount);
    }

}
@end
